package com.gitee.wsl.compose.animation.transition

import androidx.compose.runtime.Composable
import com.gitee.wsl.compose.animation.A

object Transition {
    object In

    object Out
}

val A.Tran get() = Transition

val A.TranIn get() = Transition.In

val A.TranOut get() = Transition.Out


@Composable
fun <T> Transition.transition(targetState: T, label: String? = null) = androidx.compose.animation.core.updateTransition(targetState ,label)
